Optimal. Leaf size=161 \[ -\frac {2 \sqrt {e+f x} \sqrt {\frac {(c+d x) (f g-e h)}{(e+f x) (d g-c h)}} \operatorname {EllipticF}\left (\tan ^{-1}\left (\frac {\sqrt {g+h x} \sqrt {b e-a f}}{\sqrt {a+b x} \sqrt {f g-e h}}\right ),\frac {(b g-a h) (d e-c f)}{(b e-a f) (d g-c h)}\right )}{\sqrt {c+d x} \sqrt {b e-a f} \sqrt {f g-e h}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 198, normalized size of antiderivative = 1.23, number of steps used = 2, number of rules used = 2, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {170, 419} \[ \frac {2 \sqrt {g+h x} \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{\sqrt {c+d x} \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 170
Rule 419
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx &=\frac {\left (2 \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+\frac {(b c-a d) x^2}{d e-c f}} \sqrt {1-\frac {(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {a+b x}}\right )}{(f g-e h) \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ &=\frac {2 \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{\sqrt {b g-a h} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.34, size = 227, normalized size = 1.41 \[ -\frac {2 \sqrt {a+b x} \sqrt {g+h x} \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \operatorname {EllipticF}\left (\sin ^{-1}\left (\sqrt {\frac {(g+h x) (a f-b e)}{(a+b x) (f g-e h)}}\right ),\frac {(a d-b c) (e h-f g)}{(b e-a f) (d g-c h)}\right )}{\sqrt {c+d x} \sqrt {e+f x} (b g-a h) \sqrt {\frac {(g+h x) (a f-b e)}{(a+b x) (f g-e h)}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 5.87, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {b x + a} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}}{b d f h x^{4} + a c e g + {\left (b d f g + {\left (b d e + {\left (b c + a d\right )} f\right )} h\right )} x^{3} + {\left ({\left (b d e + {\left (b c + a d\right )} f\right )} g + {\left (a c f + {\left (b c + a d\right )} e\right )} h\right )} x^{2} + {\left (a c e h + {\left (a c f + {\left (b c + a d\right )} e\right )} g\right )} x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b x + a} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 270, normalized size = 1.68 \[ \frac {2 \sqrt {\frac {\left (a f -b e \right ) \left (h x +g \right )}{\left (a h -b g \right ) \left (f x +e \right )}}\, \sqrt {\frac {\left (e h -f g \right ) \left (d x +c \right )}{\left (c h -d g \right ) \left (f x +e \right )}}\, \sqrt {\frac {\left (e h -f g \right ) \left (b x +a \right )}{\left (a h -b g \right ) \left (f x +e \right )}}\, \left (a \,f^{2} h \,x^{2}-b \,f^{2} g \,x^{2}+2 a e f h x -2 b e f g x +a \,e^{2} h -b \,e^{2} g \right ) \EllipticF \left (\sqrt {\frac {\left (a f -b e \right ) \left (h x +g \right )}{\left (a h -b g \right ) \left (f x +e \right )}}, \sqrt {\frac {\left (c f -d e \right ) \left (a h -b g \right )}{\left (c h -d g \right ) \left (a f -b e \right )}}\right )}{\sqrt {h x +g}\, \sqrt {f x +e}\, \sqrt {d x +c}\, \sqrt {b x +a}\, \left (e h -f g \right ) \left (a f -b e \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b x + a} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,\sqrt {a+b\,x}\,\sqrt {c+d\,x}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {a + b x} \sqrt {c + d x} \sqrt {e + f x} \sqrt {g + h x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________